home *** CD-ROM | disk | FTP | other *** search
- /***********************************************************************
-
- CSA Library, Version 1.6.b
- Released: March 2nd 1995
-
- Set of functions to process messages.
- All the library functions use these functions
- to display warnings, errors etc..
-
- Copyright(c) 1994,1995
- Combis
- The Netherlands
- ***********************************************************************/
-
- #ifndef __CSMESS_H
- #define __CSMESS_H
-
-
- #ifndef __STDARG_H
- #include "stdarg.h"
- #endif
- /*
- #ifndef __STDLIB_H
- #include "stdlib.h"
- #endif
- */
- #ifndef __CSEDSTR_H
- #include "csedstr.h"
- #endif
-
- char *csmess_read(long error);
- void csmess_set_fun( void (* fun)(CSCHAR *));
- void csmess_reset_fun( void );
- void csmess_set_filename( CSCHAR *s);
- void csmess_reset_filename( void);
- void csmess_disp( CSCHAR *s);
- void csmess_on(void);
- void csmess_off(void);
- int csmess_onoff(void);
- void csmess_onoff(int TrueOrFalse);
-
-
-
- //////////////////////////////////////////////////////////////////////////
-
-
- // This looks very clumsy, but these nice functions with a variable
- // number of arguments doesn't seem to work for me.
-
-
- char *csmess( char *s1=NULL, CSCHAR *s2=NULL, CSCHAR *s3=NULL, CSCHAR *s4=NULL, CSCHAR *s5=NULL, CSCHAR *s6=NULL);
- char *csmess_p( CSCHAR *s1=NULL, CSCHAR *s2=NULL, CSCHAR *s3=NULL, CSCHAR *s4=NULL, CSCHAR *s5=NULL, CSCHAR *s6=NULL);
- char *csmess( long error,CSCHAR *s1, CSCHAR *s2, CSCHAR *s3=NULL, CSCHAR *s4=NULL, CSCHAR *s5=NULL);
- char *csmess_p( long error,CSCHAR *s1, CSCHAR *s2, CSCHAR *s3=NULL, CSCHAR *s4=NULL, CSCHAR *s5=NULL);
- char *csmess_p( long error,CSCHAR *s,long l);
- char *csmess_p( long error,long l);
- char *csmess_p( long error,int i);
- char *csmess_p( long error,CSCHAR c);
- char *csmess_p( long error,CSCHAR *s);
- inline CSCHAR *csmess_p( long error,uchar *s) { return csmess_p(error,(CSCHAR *)s); }
- char *csmess_p( long error,STR &s);
- char *csmess_p( long error,EDSTR &s);
- char *csmess_p( long error);
-
- #endif
-